package com.wzx.user.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wzx.user.common.BasePojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author wzx
 * @version 1.0
 * @date 2022/7/26 - 18:48
 * @description 标题
 */
@Data
@TableName("t_relation")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Relation", description = "关系表")
public class Relation extends BasePojo {

    @TableId(value = "relationId", type = IdType.AUTO)
    @ApiModelProperty(notes = "主键id", required = true)
    private Integer relationId;

    @TableField("uid")
    @ApiModelProperty(value = "用户id")
    private Integer uid;

    @TableField("fid")
    @ApiModelProperty(value = "关系人id")
    private Integer fid;

    /*@TableField("createTime")
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @TableField("updateTime")
    @ApiModelProperty(value = "更新时间")
    private String updateTime;*/

    @TableField("type")
    @ApiModelProperty(value = "类型")
    private String type;

    @TableField("identity")
    @ApiModelProperty(value = "身份")
    private String identity;

    @TableField("notWatchState")
    @ApiModelProperty(value = "不看他动态")
    private String notWatchState;

    @TableField("blacklist")
    @ApiModelProperty(value = "黑名单")
    private String blacklist;

    @TableField("friendRemarks")
    @ApiModelProperty(value = "朋友备注")
    private String friendRemarks;

    @TableField("iInGroupRemarks")
    @ApiModelProperty(value = "我在群聊中的备注")
    private String iInGroupRemarks;

}
